package com.konne.nightmare.FastPublicOpinion.mvp.model;

import com.konne.nightmare.FastPublicOpinion.base.OnLoadDataListener;
import com.konne.nightmare.FastPublicOpinion.bean.HomeBean;
import com.konne.nightmare.FastPublicOpinion.bean.OpinionDataBean;

import java.util.List;

public interface IHomeFragmentModel {

    void myWarning(int pageNum,int pageSize,OnLoadDataListener<List<HomeBean.RowsBean>> onLoadDataListener);

    void postOpinionList(int pageNum, int pageSize, String requestBody, OnLoadDataListener<List<OpinionDataBean.ResponseDataBean>> onLoadDataListener);

    void postOpinionAddCollect(String requestBody, OnLoadDataListener<String> onLoadDataListener);

    void postOpinionCancelCollect(String requestBody, OnLoadDataListener<String> onLoadDataListener);

    void postOpinionAddWarning(String requestBody, OnLoadDataListener<String> onLoadDataListener);

    void postOpinionCancelWarning(String requestBody, OnLoadDataListener<String> onLoadDataListener);

    void postOpinionAddBriefing(String requestBody, OnLoadDataListener<String> onLoadDataListener);

    void postOpinionCancelBriefing(String requestBody, OnLoadDataListener<String> onLoadDataListener);

    void postOpinionDataStatistics(String requestBody, OnLoadDataListener<OpinionDataBean.ResponseStatisticalDataBean> onLoadDataListener);

    void postOpinionDelete(String requestBody, OnLoadDataListener<String> onLoadDataListener);

}
